home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
util
/
edit
/
jed207.lha
/
src
/
regexp.lha
/
regerror.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-01-14
|
407b
|
28 lines
/*
* CHANGED, 14-Jan-93, by J.Harper,
* added #ifdef __STDC__ prototype sections so I can use registerized
* arguments
*/
#include <stdio.h>
#ifdef __STDC__
void exit(int);
#ifdef ERRAVAIL
void error(char *, char *);
#endif
#endif
void
regerror(s)
char *s;
{
#ifdef ERRAVAIL
error("regexp: %s", s);
#else
fprintf(stderr, "regexp(3): %s", s);
exit(1);
#endif
/* NOTREACHED */
}